<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
	<!-- IOS中禁用将数字识别为电话号码/忽略Android平台中对邮箱地址的识别 -->
	<meta name="format-detection" content="telephone=no, email=no" />
	<meta content="black" name="apple-mobile-web-app-status-bar-style" />
	<!--控制条块状黑色-->
	<meta content="telephone=no" name="format-detection" />
	<!--禁止数字转拨号-->
	<link rel="stylesheet" type="text/css" href="../../css/reset.css">
	<link rel="stylesheet" type="text/css" href="../../css/mui.min.css" />
	<link rel="stylesheet" type="text/css" href="../../css/second.css" />
	<script src="../../js/jquery-1.11.3.min.js"></script>
	<!--百度地图-->
	<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=nxW0akynjKF8Ag0G0uVVwq0t6ak1Q1Zj"></script>
</head>
<body>
	<!--顶部nav-->
	<div class="mui-navbar-inner mui-bar mui-bar-nav">
		<!--<button type="button" class="mui-left mui-action-back mui-btn  mui-btn-link mui-btn-nav mui-pull-left">
		<span class="mui-icon mui-icon-left-nav" ></span>
	</button>-->
		<!--返回-->
		<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-l
		eft"></a>
		<h1 class="mui-center mui-title">电梯地图定位</h1>
	</div>
	<!--底部固定栏-->
	<div class="mui-bar-tab mui-bar">
		<a href="javascript:;" class="mui-tab-item mui-active">
			<span class="mui-icon iconfont icon-shouye"></span>
			<span class="mui-tab-label">首页</span>
		</a>
		<a href="javascript:;" class="mui-tab-item">
			<span class="mui-icon iconfont icon-dianti2"></span>
			<span class="mui-tab-label">电梯巡检</span>
		</a>
		<a href="javascript:;" class="mui-tab-item">
			<span class="mui-icon iconfont icon-baogao"></span>
			<span class="mui-tab-label">综合报告</span>
		</a>
		<a href="javascript:;" class="mui-tab-item">
			<span class="mui-icon iconfont icon-baodan"></span>
			<span class="mui-tab-label">电子保单</span>
		</a>
	</div>
	<!--内容区-->
<div class="mui-content fault-record-detail">
		<!--电梯故障详情-->
		<div class="padbox txt">
			<div>
				<b>运行开门故障</b>
				<p class="time mui-pull-right">持续时间:00:12:30</p>
			</div>
			<ul class="mui-list-unstyled">
				<li>
					<p>
						物业名称:<span>紫薇花园</span>
					</p>
					<p>
						电梯位置：<span>山水花园小区1幢2门</span>
					</p>
					<p>
						楼层：<span>8层</span> &nbsp;&nbsp;&nbsp; <span class="pink">有人</span>
					</p>
					<p>
						维保人员：<span>李西二</span>
					</p>
					<p>
						联系电话：<span class="pink">13256565656</span>
						<a href="tel:17610607655"><i class="mui-icon mui-icon-phone"></i></a>
					</p>
				</li>
			</ul>
		</div>
		<!-- 故障视频 故障地图 -->
		<div class="padbox10 mon-vid">
			<img src="../../img/second/mon-video.jpg" alt="" />
		</div>
		<div class="padbox10">
			<div id="fault-map"></div>
		</div>
		<div class="mui-table monitor-video">
			<div class="mui-table-cell  mui-text-center">
				<div class="mon-talk">
					<span>
						<i></i>
					</span>
					<p>对讲</p>
				</div>
			</div>
			<div class="mui-table-cell mui-text-center">
				<div class="mon-screenshot">
					<span>
						<i></i>
					</span>
					<p>截图</p>
				</div>
			</div>
		</div>

	</div>



	<script src="../../js/mui.min.js"></script>
	<script src="../../js/mui.view.js"></script>
	<script src="../../js/main.js"></script>

	<script src="../../libs/mustache.min.js" type="text/javascript" charset="utf-8"></script>
	<script>
		$(function () {
			mui.init();
			mui.ready(function () {
				/*百度地图*/
				function liftMap() {
					var map = new BMap.Map("fault-map");
					var point = new BMap.Point(116.295084, 39.967665);
					map.centerAndZoom(point, 18); // 初始化地图，设置中心点坐标和地图级别
					//添加导航控件
					map.addControl(new BMap.NavigationControl());
					//添加缩放控件
					map.addControl(new BMap.ScaleControl());
					//添加概览图
					map.addControl(new BMap.OverviewMapControl());
					//添加地图类型控件
					map.addControl(new BMap.MapTypeControl());
					var marker = new BMap.Marker(point);
					//默认动画
					marker.setAnimation(BMAP_ANIMATION_BOUNCE);
					//创建标注
					map.addOverlay(marker); //将标注添加到地图中
					map.enableScrollWheelZoom(); //启用滚轮放大缩小，默认禁用
					//信息提示的窗口
					var opts = {
						width: 200, // 信息窗口宽度
						height: 44, // 信息窗口高度
						title: "运行开门故障", // 信息窗口标题
						enableMessage: true //设置允许信息窗发送短息
					};
					var infoWindow = new BMap.InfoWindow("地址：北京金源购物中心B区写字楼昊永物业5H", opts); // 创建信息窗口对象
					map.openInfoWindow(infoWindow, point); //开启信息窗口
					marker.addEventListener("click", function () {
						map.openInfoWindow(infoWindow, point); //开启信息窗口
					});

				}
				liftMap();

			});
		})
	</script>
</body>

</html>